package com.yfp.operation.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description: 微信小程序配置
 * 
 * @CreateDate: 2024/5/16 11:55
 * @UpdateUser: 
 * @UpdateDate: 2024/5/16 11:55
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "wx.cp")
@Component
public class WxCpProperties {
    private List<Config> configs;
    @Data
    public static class Config {
        private String corpId;
        private String corpsecret;
        private Integer agentId;
        private String redirectUrl;
        private String chatId;
    }
}
